<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class LG_Controller extends Controller {

	protected $user;

	function __contruct()
	{
		parent::Controller();

		// set the language

		// set the user access
		$this->load->library('user/auth');
		$this->user = $this->auth->get_user($this->session->userdata('user_id'));
		

		// set the theme
		$this->template->set_theme('lightgear'); // retrieve from admin settings

		// load blocks
	}
}